/* 页面最小宽度 */
body {
    min-width: 1280px;
}

body.iframe {
    min-width: auto;
}

input::-webkit-input-placeholder {
    color: #D7D7D7;
}

input:-ms-input-placeholder {
    color: #D7D7D7;
}

input:-moz-placeholder {
    color: #D7D7D7;
}

input::-moz-placeholder {
    color: #D7D7D7;
}

::-webkit-scrollbar { /*滚动条整体样式*/
    width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(10, 10, 10, 0.2);
    background: #8D8D8D;
}

::-webkit-scrollbar-track { /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(10, 10, 10, 0.2);
    background: #EDEDED;
}

/* 顶栏导航 begin */
.layui-header {
    height: calc(90 / 1920 * 100vw);
    max-height: 90px;
    background: url("../images/title-bg.png") left top no-repeat;
    background-size: contain;
}

.layui-layout-admin .layui-body {
    top: calc(90 / 1920 * 100vw);
    bottom: calc(41 / 1920 * 100vw);
}

.layui-layout-admin .layui-header {
    background-color: #0066CC;
}

.layui-header {
    background-color: #0066CC;
}

.layui-layout-admin .layui-logo {
    width: auto;
}

.layui-logo {
    width: auto;
    height: 100%;
}

.layui-logo .x-logo {
    height: 100%;
    float: left;
}

.layui-logo .x-top-title {
    float: left;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 2px;
    width: calc(361 / 1920 * 100vw);
}

.layui-nav {
    background-color: transparent;
    height: 100%;
}

.layui-nav .layui-nav-item {
    text-align: center;
}

.layui-nav .layui-nav-item > a {
    padding: 0;
    width: calc(144 / 1920 * 100vw);
    max-width: 145px;
    background: -webkit-linear-gradient(90deg, #0066CC, #2D9CE8);
    background: linear-gradient(to top, #0066CC, #2D9CE8);
    line-height: 1;
    height: 100%;
}

/* 当前选中的样式 */
.layui-nav .layui-nav-item.active > a {
    background: -webkit-linear-gradient(90deg, #E56C25, #FA9602);
    background: linear-gradient(to top, #E56C25, #FA9602);
}

.layui-nav .layui-nav-item.active .split-line {
    background: transparent;
}

.layui-nav .layui-nav-item .split-line {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: calc(34 / 1920 * 100vw);
    background: #3f91e2;
    transform: translateY(-50%);
}

.nav-top-item {
    line-height: 1;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    color: #fff;
}

.nav-top-icon {
    display: block;
    margin: 0 auto 3%;
    width: calc(70 / 1920 * 100vw);
}

.layui-nav-bar {
    background: rgba(0, 0, 0, 0.1);
    height: 100%;
    pointer-events: none;
}

.layui-nav .layui-this:after {
    background-color: transparent;
}

.layui-layout-right {
    height: 100%;
}

.x-top-nav {
    display: flex;
    float: left;
}

.x-top-nav > li {
    float: left;
    height: 100%;
}

.x-nav-user {
    float: left;
    padding: 0 20px 0 10px;
    height: 100%;
}

.x-nav-user > li {
    float: left;
    height: 100%;
}

.x-nav-user .x-user-info {
    color: #fff;
    display: inline-flex;
    overflow: hidden;
    margin-top: calc(10 / 1920 * 100vw);
}

.x-nav-user .x-user-info > dd {
    float: left;
}

.x-nav-user .x-user-photo {
    width: calc(60 / 1920 * 100vw);
    max-height: calc(68 / 1920 * 100vw);
    border: 1px solid #e5e5e5;
}

.x-nav-user .x-user-photo > img {
    width: 100%;
    max-height: 100%;
}

.x-nav-user .x-user-text-box {
    margin: 0 10px;
    position: relative;
}

.x-nav-user .x-user-text-box > span {
    display: table;
}

.x-user-text-box .x-user-name {
    line-height: calc(22 / 1920 * 100vw);
}

.x-user-text-box .x-user-score {
    background: #1975D1;
    position: absolute;
    width: 100%;
    height: calc(35 / 1920 * 100vw);
    line-height: calc(35 / 1920 * 100vw);
    text-align: center;
    bottom: 0;
}

.x-user-logout {
    background: #1975D1;
    width: calc(58 / 1920 * 100vw);
    height: calc(68 / 1920 * 100vw);
    line-height: calc(68 / 1920 * 100vw);
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.nav-logout-icon {
    width: calc(37 / 1920 * 100vw);
}

/* 顶栏导航 end */

/* 主体内容布局 begin */
.layui-body-full {
    left: 0;
}

.layui-layout-admin .content-limit {
    height: calc(100vh - 90 / 1920 * 100vw);
    overflow: auto;
}

.layui-layout-admin .layui-footer-full {
    left: 0;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    color: #999999;
    background-color: #FAFBFC;
    height: calc(40 / 1920 * 100vw);
    line-height: calc(40 / 1920 * 100vw);
}

.layui-layout-admin .layui-footer.footer-left {
    left: 200px;
}

.layui-body-panel .layui-tab-content {
    height: calc(100% - 50px);
    padding: 0;
    overflow-y: hidden;
}

.layui-body-panel .layui-tab-content .layui-tab-item {
    height: 100%;
}

.x-layou-row-p20 {
    padding: 0 20px;
}

/* 主体内容布局 end */

/*侧边菜单栏 begin*/
.layui-side {
    position: absolute;
}

.layui-layout-admin .layui-side {
    top: calc(90 / 1920 * 100vw);
    background: #41A1F4;
}

.layui-side .layui-nav .layui-nav-item {
    border-bottom: 1px solid #1f7bc1;
}

.layui-side .layui-nav .layui-nav-item > a {
    width: calc(100% - 40px);
    max-width: initial;
    line-height: 38px;
    background: #41A1F4;
    text-align: left;
    padding-left: 40px;
}

.layui-side .layui-nav .layui-nav-item > a > i.iconfont {
    position: absolute;
    margin-left: -20px;
}

.layui-side .layui-nav-itemed > .layui-nav-child {
    background-color: rgba(57, 142, 220, 0.5) !important;
}

.layui-side .layui-nav-itemed > .layui-nav-child dd {
    text-align: left;
    padding-left: 20px;
}

.layui-side .layui-nav-itemed > .layui-nav-child dd:hover {
    background-color: rgba(57, 142, 220, 1);
}

.layui-side .layui-nav-tree .layui-nav-child dd.layui-this:before {
    content: '';
    width: 5px;
    height: 40px;
    background: #ff9900;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
}

.layui-side .layui-nav-tree .layui-nav-child dd.layui-this {
    background-color: #46b8fe;
}

.layui-side .layui-nav .layui-nav-child dd.layui-this a {
    background-color: transparent;
}

.layui-side .layui-nav-tree .layui-nav-bar {
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
}

/*侧边菜单栏 end*/

/* 面板样式重写 begin */
.layui-card {
    border: 1px solid #e5e5e5;
}

.layui-card-header {
    background: #E3F6FF;
    height: calc(48 / 1920 * 100vw);
    line-height: calc(48 / 1920 * 100vw);
    border-bottom: 1px solid #e5e5e5;
}

.layui-card-body {
    position: relative;
}

/* 面板样式重写 end */

/* 面板选项卡 重写 begin*/
.layui-tab-title > li.ban-close > i.layui-tab-close {
    display: none;
}

.layui-body-panel > .layui-tab {
    height: 100%;
    margin: 0;
}

.layui-body-panel .layui-tab-title {
    padding: 15px 10px 0px 10px;
    height: 34px;
    background: #ededed;
    border-bottom-color: #f1f1f1;
}

.layui-body-panel .layui-tab-title > .layui-tab-bar {
    margin-top: 15px;
}

.layui-body-panel .layui-tab-title > li {
    background: #FFFFFF;
    color: #666666;
    margin: 0 10px 0 0;
    border: none;
    line-height: 34px;
}

.layui-body-panel .layui-tab-title > li.layui-this {
    background: #348EE1;
    color: #ffffff;
}

.layui-body-panel .layui-tab-title > li.layui-this > i.layui-tab-close {
    color: #ffffff;
}

.layui-body-panel .layui-tab-title > .layui-this:after {
    border-radius: 0;
    border: none;
}

/* 面板选项卡 重写 end*/

/* 后台管理布局-内容 begin */
.layui-tab-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.row-box > .layui-row {
    margin: 0;
}

/* 后台管理布局-内容 end */

/* 下拉选择框 begin */
.layui-form-select dl dd.layui-this {
    background-color: #348EE1;
}

/* 下拉选择框 end */

/* 中心首页方块入口 begin */
.x-block-box {
    padding: 10px;
}

.x-block-box > li {
    background-color: #4acd7e;
    margin: 5px;
    min-width: calc(20% - 10px);
    max-width: 357px;
    height: 184px;
    color: #ffffff;
    position: relative;
}

.x-block-box.x-block-box2 > li {
    max-width: 330px;
}

.x-block-box > li > .x-block-local {
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}

.x-block-box > li > .x-block-local > .x-block-icon {
    transform: translate(-50%, -60px);
}

.x-block-box > li > .x-block-local > .x-block-text {
    transform: translate(-50%, -65px);
    white-space: nowrap;
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
}

/*  中心首页方块入口 end */

/* 表单录入相关 begin */
.x-form-body {
    max-width: 1200px;
    width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.layui-colla-item {
    border-color: #e5e5e5;
}

.layui-colla-title {
    padding-left: 15px;
    color: #575757;
    background-color: #f9f9f9;
    height: 43px;
    line-height: 43px;
}

.layui-colla-title > .layui-colla-subtitle {
    color: #c6c6c6;
}

.layui-colla-title > .layui-colla-icon {
    right: 15px;
    left: auto;
}

.layui-collapse > .layui-colla-item.colla-off .layui-colla-icon {
    display: none;
}

.layui-collapse > .layui-colla-item.colla-off .layui-colla-content {
    display: block !important;
}

.layui-form-checked[lay-skin=primary] i {
    border-color: #0067d1;
    background-color: #348ee1;
}

.layui-input:hover, .layui-textarea:hover {
    border-color: #348ee1 !important;
}

.layui-form-checkbox[lay-skin=primary]:hover i {
    border-color: #348ee1;
}

.layui-input, .layui-select {
    height: 28px;
}

.layui-form-label {
    padding: 4px 5px 4px 0;
    width: 110px;
    min-width: 80px;
    margin-left: -15px;
    color: #333;
}

.layui-form-label:after {
    content: ' ：';
}

.layui-form-radio {
    margin: 0;
}

.layui-form-item {
    margin-bottom: 5px;
}

.layui-form-item .layui-input-inline {
    margin-left: 8px;
    position: relative;
}

.layui-form-item .layui-form-checkbox[lay-skin=primary] {
    margin: 5px 0;
}

.layui-form-radio > i:hover, .layui-form-radioed > i {
    color: #348ee1;
}

.layui-form-select .layui-edge {
    border-top-color: #999;
}

.layui-btn-normal.btn-text {
    background-color: transparent;
    color: #348EE1;
}

.layui-btn-normal.btn-text .layui-icon {
    vertical-align: middlw;
}

.layui-btn-warm.btn-text {
    background-color: transparent;
    color: #FFB800;
}

.layui-form-select dl {
    top: 30px;
}

.layui-form-radio > i {
    font-size: 20px;
}

.layui-btn .layui-icon {
    vertical-align: -2px;
}

/* 表单录入相关 end */

/* 页面视宽小于1280px */
@media screen and (max-width: 1280px) {

    .layui-header {
        height: calc(90 / 1920 * 1280px);
    }

    .layui-layout-admin .layui-body {
        min-width: 1280px;
        top: calc(90 / 1920 * 1280px);
        bottom: calc(41 / 1920 * 1280px);
    }

    .layui-layout-admin .layui-body.layui-body-panel {
        min-width: 1080px;
    }

    .layui-layout-admin .layui-side {
        top: calc(90 / 1920 * 1280px);
    }

    .layui-layout-admin .content-limit {
        height: calc(100vh - 90 / 1920 * 1280px);
        overflow: auto;
    }

    .layui-logo .x-top-title {
        width: calc(361 / 1920 * 1280px);
    }

    .layui-nav .layui-nav-item > a {
        width: calc(144 / 1920 * 1280px);
    }

    .layui-nav .layui-nav-item .split-line {
        height: calc(34 / 1920 * 1280px);
    }

    .nav-top-icon {
        width: calc(70 / 1920 * 1280px);
    }

    .x-nav-user .x-user-info {
        margin-top: calc(10 / 1920 * 1280px);
    }

    .x-nav-user .x-user-photo {
        width: calc(60 / 1920 * 1280px);
        max-height: calc(68 / 1920 * 1280px);
    }

    .x-user-text-box .x-user-name {
        line-height: calc(22 / 1920 * 1280px);
    }

    .x-user-text-box .x-user-score {
        height: calc(35 / 1920 * 1280px);
        line-height: calc(35 / 1920 * 1280px);
    }

    .x-user-logout {
        width: calc(58 / 1920 * 1280px);
        height: calc(68 / 1920 * 1280px);
        line-height: calc(68 / 1920 * 1280px);
    }

    .layui-layout-admin .layui-footer-full {
        height: calc(40 / 1920 * 1280px);
        line-height: calc(40 / 1920 * 1280px);
    }

    .nav-logout-icon {
        width: calc(37 / 1920 * 1280px);
    }

    .layui-card-header {
        height: calc(48 / 1920 * 1280px);
        line-height: calc(48 / 1920 * 1280px);
    }

    .layui-card-body {
        padding: calc(10 / 1920 * 1280px) calc(15 / 1920 * 1280px);
        line-height: calc(24 / 1920 * 1280px);
    }

    .layui-card {
        margin-bottom: calc(15 / 1920 * 1280px);
    }
}